﻿namespace Cos.Module.Membership.NHibernate.Tests
{
    using System;

    using Cos.Core.NHibernate;
    using Cos.Core.NHibernate.Tests;

    using NUnit.Framework;

    [TestFixture]
    public class CustomUserFieldUserValueDataModelFixture : ModuleFixtureBase
    {
        [Test]
        public void CanMapCustomUserFieldUSerValueDataModel()
        {
            new PersistenceSpecification<CustomUserFieldUserValueDataModel>(Session)
                .CheckProperty(x => x.DateValue, new DateTime(2011, 01, 06))
                .CheckProperty(x => x.IntValue, 0)
                .CheckProperty(x => x.FloatValue, 1.0)
                .CheckProperty(x => x.TextValue, "text")
                .VerifyTheMappings();

            throw new NotImplementedException();
        }
    }
}
